﻿using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace Admin.NET.Web.Entry.Controllers
{
    [AllowAnonymous]
    public class DevelopController : Controller
    {
        [Route("/develop")]
        public IActionResult Index()
		{
			return View();
		}
        [Route("/develop/{groupKey}")]
        public IActionResult Test2(string groupKey)
        {
            return View(groupKey);
        }
        [Route("/develop/{groupKey}/{actionKey}")]
        public IActionResult Test(string groupKey, string actionKey)
        {
            return View(groupKey + "/" + actionKey);
        }
        [Route("/develop/{groupKey}/{actionKey}/{id}")]
        public IActionResult Test3(string groupKey, string actionKey,string id)
        {
            ViewBag.Id = id;
            return View(groupKey + "/" + actionKey);
        }
    }
}